
import request from '@/utils/request'
export function detail(data) {
  return request({
    url: `/questions/${data.id}`,
    method: 'get',
    data
  })
}
export function randoms(data) {
  return request({
    url: '/questions/randoms',
    method: 'get',
    data
  })
}
export function removeRandoms(data) {
  return request({
    url: `/questions/randoms/${data.id}`,
    method: 'delete',
    data
  })
}

